package classes;

import java.io.Serializable;
import java.math.BigDecimal;

public class Product implements Serializable
{
	private static final long serialVersionUID = 1L;
	
	private long id;
	private String description;
	private BigDecimal price;
	private BigDecimal itemweight;
	private int quantityInStock;
	private String category;
	
	public Product()
	{
		
	}
	
	public Product(long id, String category, String description, BigDecimal itemweight, 
					BigDecimal price, int quantityInStock)
	{
		this.id = id;
		this.category = category;
		this.description = description;
		this.itemweight = itemweight;
		this.price = price;
		this.quantityInStock = quantityInStock;
	}
	
	public long getId() 
	{
		return id;
	}
	public void setId(long id) 
	{
		this.id = id;
	}
	
	public String getDescription() 
	{
		return description;
	}
	public void setDescription(String description) 
	{
		this.description = description;
	}
	
	public BigDecimal getPrice() 
	{
		return price;
	}
	public void setPrice(BigDecimal price) 
	{
		this.price = price;
	}
	
	public BigDecimal getItemweight() 
	{
		return itemweight;
	}
	public void setItemweight(BigDecimal itemweight) 
	{
		this.itemweight = itemweight;
	}
	
	public int getQuantityInStock() 
	{
		return quantityInStock;
	}
	public void setQuantityInStock(int quantityInStock) 
	{
		this.quantityInStock = quantityInStock;
	}
	
	public String getCategory() 
	{
		return category;
	}
	public void setCategory(String category) 
	{
		this.category = category;
	}

}
